<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
        <ul class="am-list admin-sidebar-list">
            <li><a href="/admin" class="{{$_index or ''}}"><span class="am-icon-home"></span> 首页</a></li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-shop'}"><span class="am-icon-file"></span> 商城管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub  {{$_shop or ''}}" id="collapse-shop">
                    <li><a href="{{route('shop.product.index')}}" class="am-cf  {{$_product or ''}}"><span class="am-icon-check"></span> 商品管理<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Shop\Product::count()}}</span></a></li>
                    <li><a href="{{Route('shop.category.index')}}" class="am-cf {{$_category or ''}}"><span class="am-icon-calendar"></span> 商品分类<span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span></a></li>
                    <li><a href="disabled:;"><span class="am-icon-puzzle-piece"></span> 帮助页</a></li>
                    <li><a href="disabled:;"><span class="am-icon-th"></span> 相册页面<span class="am-badge am-badge-secondary am-margin-right am-fr"></span></a></li>
                    <li><a href="/logs"><span class="am-icon-calendar"></span> 系统日志</a></li>
                    <li><a href="{{Route('shop.brand.index')}}" class="{{$_brand or ''}}"><span class="am-icon-apple"></span> 商城品牌<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Shop\Brand::count()}}</span></a></li>
                    <li><a href="{{Route('shop.customer.index')}}" class="{{$_customer or ''}}"><span class="am-icon-user-md"></span><span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Shop\Customer::count()}}</span> 会员管理</a></li>
                    <li><a href="{{route('shop.express.index')}}" class="{{$_express or ''}}"><span class="am-icon-car"></span> 物流运费<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Shop\Express::count()}}</span></a></li>
                    <li><a href="{{route('shop.recycle.index')}}" class="{{$_recycle or ''}}"><span class="am-icon-trash"></span> 回收站<span class="am-badge am-fr am-margin-right am-badge-secondary"></span></a></li>
                    <li><a href="{{route('shop.home')}}" class="{{$_home or ''}}"><span class="am-icon-list"></span> 数据可视化<span class="am-badge am-fr am-margin-right am-badge-secondary"></span></a></li>
                    <li><a href="{{route('shop.prize')}}" class="{{$_prize or ''}}"><span class="am-icon-list"></span> 转盘大抽奖<span class="am-badge am-fr am-margin-right am-badge-secondary"></span></a></li>
                </ul>
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-ads'}"><span class="am-icon-file"></span> 广告管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub {{$_ads or ''}}" id="collapse-ads">
                    <li><a href="{{route('ad.advert.index')}}" class="am-cf {{$_advert or ''}}"><span class="am-icon-check"></span> 广告栏目<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                    <li><a href="{{route('ad.category.index')}}" class="am-cf {{$_cate or ''}}"><span class="am-icon-calendar"></span> 广告分类<span class="am-badge am-fr am-margin-right am-badge-secondary"></span></a></li>
                    <li><a href="{{route('ad.advert.trash')}}" class="{{$_trash or ''}}"><span class="am-icon-trash"></span> 广告回收站<span class="am-badge am-fr am-margin-right am-badge-secondary"></span></a></li>
                </ul>
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-wechat'}"><span class="am-icon-file"></span> 微信管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub {{$_wechat or ''}}" id="collapse-wechat">
                    <li><a href="{{route('wechat.menu.index')}}" class="am-cf {{$_menu or ''}}"><span class="am-icon-check"></span> 微信自定义菜单<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                </ul>
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-crm'}"><span class="am-icon-file"></span> CRM管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub {{$_crm or ''}}" id="collapse-crm">
                    <li><a href="{{route('crm.article.index')}}" class="am-cf {{$_article or ''}}"><span class="am-icon-check"></span> 文章管理<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                    <li><a href="{{route('crm.category.index')}}" class="am-cf {{$_categories or ''}}"><span class="am-icon-check"></span> 栏目管理<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                    <li><a href="/admin/crm/vue_links" class="am-cf {{$_links or ''}}"><span class="am-icon-check"></span> 友情链接<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                </ul>
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-system'}"><span class="am-icon-file"></span> 系统管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub {{$_system or ''}}" id="collapse-system">
                    <li><a href="{{route('system.config.index')}}" class="am-cf {{$_set or ''}}"><span class="am-icon-check"></span> 系统设置<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                    <li><a href="{{route('system.Cache.index')}}" class="am-cf {{$_cache or ''}}"><span class="am-icon-cache"></span> 清除缓存<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                    <li><a href="{{route('system.user.index')}}" class="am-cf {{$_user or ''}}"><span class="am-icon-cache"></span> 用户管理<span class="am-badge am-fr am-margin-right am-badge-secondary">{{App\Models\Ad\Advert::count()}}</span></a></li>
                </ul>

            </li>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-bookmark"></span> 公告</p>
                <p>{{$bibel['cn']}}</p>
            </div>
        </div>
        </ul>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-tag"></span> wiki</p>
                <p>Welcome to the Amaze UI wiki!</p>
            </div>
        </div>
    </div>
</div>
